package router

import (
	"github.com/gin-gonic/gin"
	"guns-go/controller/v1"
)

func InitDictDataRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	DictDataRouter := Router.Group("sysDictData")
	{
		DictDataRouter.POST("add", v1.SysDictDataAdd)
		DictDataRouter.POST("edit", v1.SysDictDataEdit)
		DictDataRouter.POST("delete", v1.SysDictDataDelete)
		DictDataRouter.GET("page", v1.SysDictDataPage)
	}
	return DictDataRouter
}
